DragItem.Destination Property

Syntax

Destination as Object


The location of the dropped item when you drop it to the desktop or onto an application. Since Destination is of type Object, it potentially can return any type of REALbasic object.

Currently, Destination is set up to work only with the Macintosh Finder and will only return a FolderItem. It requires either Mac OS 8-9 or Mac OS X 10.2 or above. To ensure that your application is compatible with future versions of REALbasic, check the type of object it returns with IsA before recasting it to a FolderItem.

On Windows and Linux, dragging items to the Desktop is not supported; therefore this property does not work under that condition.